<?php
namespace app\api\model;

use think\Model;

class UserHasSn extends Model{
    public function equipment(){
        return $this->hasOne('Equipment', 'equipmentid', 'eid');
    }
}